projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e473e7a
)
gdk: add zero-terminated annotation to content_formats_get_gtypes
author
Bilal Elmoussaoui
<bil.elmoussaoui@gmail.com>
Fri, 30 Apr 2021 13:40:27 +0000
(15:40 +0200)
committer
Bilal Elmoussaoui
<bil.elmoussaoui@gmail.com>
Fri, 30 Apr 2021 13:43:33 +0000
(15:43 +0200)
gdk/gdkcontentformats.c
patch
|
blob
|
history
diff --git
a/gdk/gdkcontentformats.c
b/gdk/gdkcontentformats.c
index 1f059f109f3b561e6cd86867d3cc89a9248586c4..9bfaca1f8b1f61da36357f784a58662bb6562a0a 100644
(file)
--- a/
gdk/gdkcontentformats.c
+++ b/
gdk/gdkcontentformats.c
@@
-461,7
+461,7
@@
gdk_content_formats_contain_mime_type (const GdkContentFormats *formats,
* Note that @formats may not contain any #GTypes, in particular when
* they are empty. In that case %NULL will be returned.
*
- * Returns: (transfer none) (nullable) (array length=n_gtypes):
+ * Returns: (transfer none) (nullable) (array length=n_gtypes
zero-terminated=1
):
* %G_TYPE_INVALID-terminated array of types included in @formats or
* %NULL if none.
*/